/*
 * Copyright Radosław Smogura, 2012. All rights reserved.
 *
 * The content of this file is confidential and it is intelectual property
 * of copyright owners.
 * 
 *
 * $URL: http://reprap-ide.googlecode.com/svn/trunk/RepRapIDE/RepRapProject/src/main/java/eu/softper/reprap/project/RepRapLogicalView.java $
 * $Id: RepRapLogicalView.java 3 2012-11-19 10:58:30Z mail@smogura.eu $
 * $Revision: 3 $
 */
package eu.softper.reprap.project;

import eu.softper.reprap.project.api.RepRapProjectConst;
import eu.softper.reprap.project.nodes.RepRapProjectRootNode;
import org.netbeans.spi.project.ui.LogicalViewProvider;
import org.netbeans.spi.project.ui.support.NodeFactorySupport;
import org.openide.nodes.Node;

/**
 *
 * @author Radosław Smogura
 */
public class RepRapLogicalView implements LogicalViewProvider{
    private RepRapProject repRapProject;

    public RepRapLogicalView(RepRapProject repRapProject) {
        this.repRapProject = repRapProject;
    }
    
    @Override
    public Node createLogicalView() {
        return new RepRapProjectRootNode(repRapProject, NodeFactorySupport.createCompositeChildren(repRapProject, RepRapProjectConst.PROJECT_NODES));
    }

    @Override
    public Node findPath(Node node, Object o) {
        return null;
    }
    
}
